program q1021;
var
    n: integer;
begin
    assign(input, '');
    assign(output, '');
    reset(input);
    rewrite(output);

    while (not eof) do
    begin
        readln(n);

        if (n mod 4 = 2) then
            writeln('yes')
        else
            writeln('no');
    end;

    close(input);
    close(output);
end.
